<?php

class SF_AttrBindCategory_Block_Widget_Grid_Column_Renderer_Category
    extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Options
{
    /**
     * Renders grid column
     *
     * @param   Varien_Object $row
     * @return  string
     */
    public function render(Varien_Object $row)
    {
		$categoryId = $row->getData($this->getColumn()->getIndex());
        $_category  = Mage::getModel('catalog/category')->setStore(0)->load($categoryId);
        $categoryName = $_category->getName();
        return $categoryName;
    }
}